package com.example.ymm.modules1.mapper.ex;

import com.example.ymm.base.CoreMapper;
import com.example.ymm.modules1.entity.hl.ex.ExQuestion;
import com.example.ymm.modules1.query.hl.ex.ExQuestionQueryCriteria;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ExQuestionMapper extends CoreMapper<ExQuestion> {

    List<ExQuestion> queryList(ExQuestionQueryCriteria criteria);

    List<ExQuestion> queryListSort(ExQuestionQueryCriteria criteria);


    Long countByCategoryId(ExQuestionQueryCriteria criteria);
}